package com.app.utils.util;

import android.util.Log;



/**
 * Created by xuxinghai on 2016/6/14.
 */
public class LogUtils {

    private static boolean debug = AppUtils.getInstance().ismDebug();

    /**
     * 打印语句i
     *
     * @param s
     */
        public static void i(String s) {
        if (debug) {
            Log.i("debug1", s);
        }
    }

    /**
     * 打印语句
     *
     * @param msg
     */
    public static void i(String tag, String msg) {
        if (debug) {
            Log.i(tag, msg);
        }
    }

    /**
     * 打印语句
     *
     * @param s
     */
    public static void e(String s) {
        if (debug) {
            Log.e("debug", s);
        }
    }


    /**
     * 打印语句
     *
     * @param s
     */
    public static void e(String s,String msg) {

        if (debug) {

            Log.e(s, msg);
        }
    }


}
